namespace Home.Domain.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class _331 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Article", "CreateDate", c => c.DateTime(nullable: false));
            AddColumn("dbo.PArticle", "Navbar", c => c.Int(nullable: false));
            AddColumn("dbo.PArticle", "CreateDate", c => c.DateTime(nullable: false));
            DropColumn("dbo.Article", "ArticleId");
        }
        
        public override void Down()
        {
            AddColumn("dbo.Article", "ArticleId", c => c.Int(nullable: false));
            DropColumn("dbo.PArticle", "CreateDate");
            DropColumn("dbo.PArticle", "Navbar");
            DropColumn("dbo.Article", "CreateDate");
        }
    }
}
